Spread Windows Forms 15.0
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / ListBase<T> Class / Sort Method / Sort(IComparer<T>) Method
The IComparer implementation to use when comparing


In This Topic
    Sort(IComparer<T>) Method
    In This Topic
    Sorts the elements in the entire ListBase<T> using the specified comparer.
    Syntax
    'Declaration
     
    
    Public Overloads Sub Sort( _
       ByVal comparer As IComparer(Of T) _
    ) 
    'Usage
     
    
    Dim instance As ListBase(Of T)
    Dim comparer As IComparer(Of T)
     
    instance.Sort(comparer)
    public void Sort( 
       IComparer<T> comparer
    )

    Parameters

    comparer
    The IComparer implementation to use when comparing
    See Also